package com.erytech.linktalk.web.client.datasource;

import com.erytech.linktalk.web.client.framework.DataUpdateEvent;
import com.erytech.linktalk.web.client.service.UserInfo;

public class RoomUpdateEvent extends DataUpdateEvent {

	public static final int ENTER_ROOM = 1;
	
	public static final int LEFT_ROOM = 2;

	private UserInfo userInfo;

	public RoomUpdateEvent(Object src, int type) {
		super(src, type);
	}

	public RoomUpdateEvent(Object src, int type, UserInfo userInfo) {
		this(src, type);
		this.userInfo = userInfo;
	}
	
	public UserInfo getUserInfo() {
		return userInfo;
	}

}
